let login = document.querySelector('.header_right > li:nth-child(1)')
let register = document.querySelector('.header_right > li:nth-child(2)')
let list = document.querySelectorAll('.sencond > .content ol > li')



list.forEach(item => {
    item.onclick = function () {
        console.log('点击')
        window.location.href = './list.html'
    }
})

login.onclick = function () {
    window.location.href = './login.html'
}

register.onclick = function () {
    window.location.href = './register.html'
}